from api.homeapi import HomeApi
from api.commodityapi import ComApi
from api.userApi import UserApi
from api.orderApi import OrderApi


class ApiFactory:
    @classmethod
    def home_api(cls):
        return HomeApi()

    @classmethod
    def com_api(cls):
        return ComApi()

    @classmethod
    def user_api(cls):
        return UserApi()

    @classmethod
    def order_api(cls):
        return OrderApi()
